package com.cn.example.rpc.impl;

import com.cn.example.rpc.IDemoService;

import java.math.BigDecimal;

public class DemoService implements IDemoService {


    @Override
    public String sayHello(String name, int age, Double money, BigDecimal price) {
        System.out.println("服务端接收到调用：" + name);
        return "姓名：" + name + "；年龄：" + age + "；年薪：" + money + "；今日车票：" + price.toString();
    }

}
